package com.info33.platform.common.enums;

import lombok.Getter;
import lombok.Setter;

/**
 * @author Administrator
 */
public enum StatusEnum {

    /**
     * 请求成功
     */
    SUCCESS(10000, "请求成功", "SUCCESS"),

    /**
     * 未实名认证
     */
    NO_CERTIFIED(30000, "未实名认证", "WARN"),

    /**
     * 请求失败
     */
    ERROR(20000, "请求失败", "ERROR");

    @Setter
    @Getter
    private int code;

    @Setter
    @Getter
    private String message;

    @Setter
    @Getter
    private String status;

    StatusEnum(int code, String message, String status) {
        this.code = code;
        this.message = message;
        this.status = status;
    }
}
